import { NgZorroAntdModule } from 'ng-zorro-antd';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {RouterModule } from '@angular/router';
import { LoginComponent } from './login.component';
import { ReactiveFormsModule } from '@angular/forms';
import {Http,HttpModule} from '@angular/http';
import {loginRoutes} from './login.routes';
import {UserLoginService} from './loginservice/login.service';

@NgModule({
  imports: [
    CommonModule,
    HttpModule,
    RouterModule.forChild(loginRoutes),
    NgZorroAntdModule,
    ReactiveFormsModule,
  ],

  declarations: [
    LoginComponent
  ],
  providers: [
    UserLoginService
  ]
})
export class LoginModule { }
